package com.letv.android.client.constant;

/**
 * 乐视视频SDK常量
 */
public class LetvSDKConstant {
    private static int eventId = 0;

    /**
     * 回调事件开始
     */
    public static int EVENT_MIN = eventId + 1;

    /**
     * 播放器状态回调事件
     */
    public static int EVENT_PLAY_START = EVENT_MIN + 1;
    public static int EVENT_PLAY_STOP = EVENT_PLAY_START + 1;
    public static int EVENT_PLAY_PAUSE = EVENT_PLAY_STOP + 1;
    public static int EVENT_PLAY_RESUME = EVENT_PLAY_PAUSE + 1;
    public static int EVENT_PLAY_NEXT = EVENT_PLAY_RESUME + 1;
    public static int EVENT_PLAY_PREV = EVENT_PLAY_NEXT + 1;
    public static int EVENT_PLAY_IDLE = EVENT_PLAY_PREV + 1;
    public static int EVENT_PLAY_FAILURE = EVENT_PLAY_IDLE + 1;

    /**
     * 播放器UI回调事件
     */
    public static int EVENT_START_DOWNLOAD = EVENT_PLAY_FAILURE + 1; // 点击下载
//    public static int EVENT_DLNA_PLAY = EVENT_PLAY_FAILURE + 1;
//    public static int EVENT_FAVORITE = EVENT_DLNA_PLAY + 1; // 点击收藏
//    public static int EVENT_FAVORITE_CANCEL = EVENT_FAVORITE + 1; // 点击取消收藏
//    public static int EVENT_DETAIL = EVENT_FAVORITE_CANCEL + 1; // 点击详情
//    public static int EVENT_GET_EPISODE = EVENT_DETAIL + 1; // 点击选剧
//    public static int EVENT_EPISODE_CHANGE = EVENT_GET_EPISODE + 1; // 切换选集 by letv
//    public static int EVENT_SHARE = EVENT_START_DOWNLOAD + 1; // 点击分享
//    public static int EVENT_CONTEXT = EVENT_SHARE + 1; // 点击分享

    /**
     * SDK其它状态的回调
     */
//    public static int EVENT_PARSE_REFER_DONE = EVENT_CONTEXT + 1;
//    public static int EVENT_PRE_VIDEO = EVENT_ACTIVITY_DESTORY + 1;
//    public static int EVENT_NEXT_VIDEO = EVENT_PRE_VIDEO + 1;
//    public static int EVENT_REQUEST_DOWNLOAD_FAILED = EVENT_NEXT_VIDEO + 1;

    /**
     * 回调事件结束
     */
    public static int EVENT_MAX = EVENT_PLAY_FAILURE + 1;
}
